import request from "../utils/request"
export const getAccountDataAPI = (params) => request.get('/parking/rule/list', { params })
export const addAccountDataAPI = (data) => request.post('/parking/rule', data)
export const editAccountDataAPI = (data) => request.put('/parking/rule', data)
export const delAccountDataAPI = (id) => request.delete(`/parking/rule/${id}`)
export const getAccountDetailAPI = (id) => request.get(`/parking/rule/${id}`)